package com.youmu.maven.emall.entity;

import java.util.Set;

public class User extends BaseEntity {

	private String name;
	private String password;
	private String nickName;
	private String intro;
	private String img;
	private String qq;

	private Set<Role> roles;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Set<Role> getRoles() {
		return roles;
	}

	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", password=" + password
				+ ", nickName=" + nickName + ", intro=" + intro + ", img="
				+ img + ", qq=" + qq + ", createDate=" + createDate
				+ ", updateDate=" + updateDate + ", roles=" + roles + "]";
	}

}
